using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace Microsoft.Phone.Controls.Maps.ConfigService
{
	[GeneratedCode("System.Runtime.Serialization", "4.0.0.0"), DebuggerStepThrough, DataContract(Name = "Rectangle", Namespace = "http://dev.virtualearth.net/webservices/v1/common")]
	internal class Rectangle : ShapeBase
	{
		private Location NortheastField;
		private Location SouthwestField;
		[DataMember]
		internal Location Northeast
		{
			get
			{
				return this.NortheastField;
			}
			set
			{
				if (!object.ReferenceEquals(this.NortheastField, value))
				{
					this.NortheastField = value;
					base.RaisePropertyChanged("Northeast");
				}
			}
		}
		[DataMember]
		internal Location Southwest
		{
			get
			{
				return this.SouthwestField;
			}
			set
			{
				if (!object.ReferenceEquals(this.SouthwestField, value))
				{
					this.SouthwestField = value;
					base.RaisePropertyChanged("Southwest");
				}
			}
		}
	}
}
